package World;
import java.util.Scanner;
public class Calculator {
public float input1,input2;
public boolean running=true;
public Scanner s;
public Calculator(){
s = new Scanner(System.in);
while(running){
	
System.out.println("This is a calculator welcome!");
System.out.println("input 1");
input1=s.nextFloat();
input2=s.nextFloat();
System.out.println(input1+input2);
System.out.println("do you wanna quit? y/n");
String string=s.nextLine();

if(string.equals("y")||string.equals("yes")){
running=false;
}
}
}
public static void main (String[] args){
Calculator c = new Calculator();

}
}
